﻿#include "stdafx.h"

class CListDoVat
{
private:
	CDoVat* _obj[30];
	int _n;
public:
	//***********************************
	// Constructor - Destructor 
	//***********************************
	CListDoVat();
	~CListDoVat();


	//***********************************
	//Getter - Setter
	//***********************************
	CDoVat* GetDoVat(int);
	int N();
	bool N(int);



	//***********************************
	// Functions
	//***********************************
	void Insert(CDoVat*);
	void Draw(HDC);
	void DrawText(CDC*, int, COLORREF, COLORREF);
	int Check(CPoint); //Kiểm tra xem 1 điểm bất kỳ nào đó có thuộc đồ vật cần chọn không?
};